﻿package org.xhs.report.common.service
{
    import flash.events.*;

    public class PageDataEvent extends Event
    {
        protected var _pageth:int;
        public static const START_LOAD:String = "start_load";
        public static const CANCEL_LOAD:String = "cancel_load";
        public static const LOAD_SUCCESS:String = "load_success";
        public static const LOAD_FAIL:String = "load_fail";
        public static const LOAD_PROGRESS:String = "load_progress";

        public function PageDataEvent(param1:String, param2:Boolean = true, param3:Boolean = false)
        {
            super(param1, param2, param3);
            return;
        }// end function

        override public function toString() : String
        {
            return formatToString("PageDataEvent", "type", "bubbles", "cancelable");
        }// end function

        override public function clone() : Event
        {
            return new PageDataEvent(type, bubbles, cancelable);
        }// end function

        public function set pageth(param1:int) : void
        {
            this._pageth = param1;
            return;
        }// end function

        public function get pageth() : int
        {
            return this._pageth;
        }// end function

    }
}
